import Cinemas from "../pages/cinemas/index.js";
import Add from "../pages/cinemas/add.js";
import Change from "../pages/cinemas/change.js";
// import Update from "../pages/cinemas/update.js";
// import Upload from "../pages/cinemas/upload.js"
export default {
    "/cinemas": {
      // 首先执行
        on(){
          new Cinemas({el:".layui-body"})
        }
      },
      "/add-cinema": {
        //第二步执行
        on(){
          new Add({el:".layui-body"})
        }
      },
      "/change-cinemas/:_id": {
        on(_id) {
            new Change({ el: ".layui-body",_id});
        }
    },
     
     
}